package xyz.lne.researchgroupmanage.controller.response;

import lombok.Data;
import xyz.lne.researchgroupmanage.service.dataTransferObject.KeyWordDTO;

/**
 * Designed By Lne.
 * 2021/1/20 12:51
 */
@Data
public class KeywordResponse {
    Integer keywordId;
    String word;

    public KeywordResponse(KeyWordDTO keyWordDTO){
        this.keywordId=keyWordDTO.getKeywordId();
        this.word=keyWordDTO.getWord();
    }
}
